using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using Shpm.System.Db;
using Shpm.App.Input.Bean;
using System.Collections;
using Shpm.App.Input.Dao;

namespace Shpm.App.Input.Dao
{
    public class DutySchemaDao : ShpmBaseDao
    {
        public const string FIND_SCHEMALIST = "DutySchema.SchemaList";
        public const string CHEAK_SCHEMALIST = "DutySchema.CheakSchemaList";
        public const string DELETE_SCHEMA = "DutySchema.DelSchemaL";
        public const string INSERT_SCHEMA = "DutySchema.SchemaIn";
        public const string UPDATE_SCHEMA = "DutySchema.UpdSchema";
        public DutySchemaDao()
        {
        }
        public IList FindSchemalist(DutySchemaBean bean)
        {

            return base.QueryForList(FIND_SCHEMALIST, bean);
        }
        public IList CheakSchemaList(DutySchemaBean bean)
        {

            return base.QueryForList(CHEAK_SCHEMALIST, bean);
        }
        public void DelSchema(DutySchemaBean bean)
        {
            base.Delete(DELETE_SCHEMA, bean);
        }
        public object InsertSchema(DutySchemaBean bean)
        {

            return base.Insert(INSERT_SCHEMA, bean);
        }
        public int UpdSchema(DutySchemaBean bean)
        {
            return base.Update(UPDATE_SCHEMA, bean);
        }


    }
}
